export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/home/index',
    'pages/user/index',
    'pages/todo/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
  },
  tabBar: {
    list: [
      {
        text: '主页',
        pagePath: 'pages/home/index',
        iconPath: 'images/home.png',
        selectedIconPath: 'images/home_on.png',
      },
      {
        text: '代办',
        pagePath: 'pages/todo/index',
        iconPath: 'images/todo.png',
        selectedIconPath: 'images/todo_on.png',
      },
      {
        text: '个人',
        pagePath: 'pages/user/index',
        iconPath: 'images/user.png',
        selectedIconPath: 'images/user_on.png',
      },
    ],
  },
});
